<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>    
<%@ taglib prefix="s" uri="/struts-tags"%>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Insert title here</title>
	<!-- <link rel="stylesheet" href="css/main.css" type="text/css"> -->
	<link rel="stylesheet" href="css/zTreeStyle/zTreeStyle.css" type="text/css"></link>
	<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
	<script type="text/javascript" src="js/jquery.ztree.all-3.5.min.js"></script>
	<script type="text/javascript">
  		var setting={
  			showLine:true,
  			checkable:true,
  			showIcon:true
  		};
  		var zTreeNodes=[
  											{name:"手机",open:false,checked:true,
  												children:[
  													{name:"诺基亚",isParent:true},
  													{name:"三星"},
  													{name:"索爱"},
  													{name:"多普达"}
  												]},
  											{name:"电脑",open:false,checked:true,
  												children:[
  													{name:"硬件",checked:true},
  													{name:"整机",isParent:true,checked:true},
  													{name:"网络",checked:true}
  												]},	
  											{name:"家电",open:false,
  												children:[
  													{name:"电视",ichecked:true},
  													{name:"冰箱"},
  													{name:"空调",isParent:true},
  												]}
  		];			
  		$(document).ready(function(){
			$.fn.zTree.init($("#tree"), setting, zTreeNodes);
		});
  	</script>

</head>
<body style="padding: 0px; margin: 0px;">
	<!--  欢迎管理员登录系统<s:property value="adminLogin.arg0"/>-->
	<div id="main" style="border: 1px solid #000000; border-bottom:0px; width: 1364px; height: auto;">
			<div id="top" style="width: 100%;height: 100px;background-color: green;"></div>
			<div id="bar" style="width: 100%;height: 20px;background-color:gray;"></div>
			<div id="middle" style="width: 100%;height: 500px;">
				<div id="left" style="background-color: blue; width: 260px; height: 500px;float: left;" >
					<ul id="tree" class="ztree"></ul>
				</div>
				<div id="right" style="background-color: olive; width: 800px; height: 500px;float: left;"></div>
			</div>
			
	</div>
</body>
</html>